package com.haha.service.program;

import com.haha.common.ApiResponse;
import com.haha.domain.qo.SeatInfoQo;
import com.haha.domain.qo.performance.GetSessionsOfPerformanceQo;
import com.haha.domain.vo.SeatInfoVo;
import com.haha.domain.vo.performance.SessionsOfPerformanceVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zouwz5
 * @date 2025/10/5 15:40
 */
public interface ProgramService {
    /**
     * 查询该节目所有场次信息
     * @param qo
     * @return
     */
    ApiResponse<List<SessionsOfPerformanceVo>> getSessionsOfPerformance(GetSessionsOfPerformanceQo qo);

    /**
     * 查询该节目所有场次信息,缓存优化
     * @param qo
     * @return
     */
    ApiResponse<List<SessionsOfPerformanceVo>> getSessionsOfPerformanceV2(GetSessionsOfPerformanceQo qo);

    /**
     * 查询某个节目下某个场次的座位信息
     * @param qo
     * @return
     */
    ApiResponse<List<SeatInfoVo>> getSeatInfo(SeatInfoQo qo);

}
